import http from "@/utils/request";

export default{
    /**
     * 查询列表
     * @param  params 
     * @returns 
     */
    async getrbList(pageNo,pageSize){
        return await http.get("/api/T1OilProduce/list",{pageNo,pageSize});
    },
    /**
    * 添加
    * @returns
    */
    async addrb(params){
        return await http.post("/api/T1OilProduce/add",params)
    },
    /**
    * 修改
    * @returns
    */
    async updaterb(params){
        return await http.put("/api/T1OilProduce/update",params)
    },

    /**
     * 查询列表
     * @param  params 
     * @returns 
     */
    async getbeList(pageNo,pageSize){
        return await http.get("/api/T2OilwellOperation/list",{pageNo,pageSize});
    },
    /**
    * 添加
    * @returns
    */
    async addbe(params){
        return await http.post("/api/T2OilwellOperation/add",params)
    },
    /**
    * 修改
    * @returns
    */
    async updatebe(params){
        return await http.put("/api/T2OilwellOperation/update",params)
    },

    /**
     * 查询列表
     * @param  params 
     * @returns 
     */
    async getbsList(pageNo,pageSize){
        return await http.get("/api/T3WaterfloodOperation/list",{pageNo,pageSize});
    },
    /**
    * 添加
    * @returns
    */
    async addbs(params){
        return await http.post("/api/T3WaterfloodOperation/add",params)
    },
    /**
    * 修改
    * @returns
    */
    async updatebs(params){
        return await http.put("/api/T3WaterfloodOperation/update",params)
    },

    /**
     * 查询列表
     * @param  params 
     * @returns 
     */
    async getbfList(pageNo,pageSize){
        return await http.get("/api/T4WellOperationMeasures/list",{pageNo,pageSize});
    },
    /**
    * 添加
    * @returns
    */
    async addbf(params){
        return await http.post("/api/T4WellOperationMeasures/add",params)
    },
    /**
    * 修改
    * @returns
    */
    async updatebf(params){
        return await http.put("/api/T4WellOperationMeasures/update",params)
    },
}